<?php $auth = Zend_Auth::getInstance(); ?>
<!DOCTYPE html>
<html lang="vi">
<head>
	<meta charset="utf-8" />
	<?php echo $this->headTitle(); ?>
	<meta name="viewport" content="width=device-width, initial-scale=1.0 " />
	<meta name="description" content="Đồ án quản lý nhà sách - Môn học Nhập Môn Công Nghệ Phần Mềm." />
	<meta name="author" content="Võ Anh Kiệt - Nguyễn Thị Ngọc Phương" />
	
    <link rel="stylesheet"  type="text/css" href="<?php echo $this->baseUrl("css/bootstrap-classic.css")?>" />
    <link rel="stylesheet"  type="text/css" href="<?php echo $this->baseUrl("css/uniform.default.css")?>" />
    <link rel="stylesheet"  type="text/css" href="<?php echo $this->baseUrl("css/opa-icons.css")?>" />
    <link rel="stylesheet"  type="text/css" href="<?php echo $this->baseUrl("css/chosen.css")?>" />
	<link rel="stylesheet"  type="text/css" href="<?php echo $this->baseUrl("css/style.css")?>" />
	
	<script type="text/javascript" src="<?php echo $this->baseUrl("js/jquery-1.7.2.min.js")?>"></script>
	<script type="text/javascript" src="<?php echo $this->baseUrl("js/bootstrap.js")?>"></script>
    <script type="text/javascript" src="<?php echo $this->baseUrl("js/tmpl.min.js")?>"></script>
    <script type="text/javascript" src="<?php echo $this->baseUrl("js/jquery.uniform.min.js")?>"></script>
    <script type="text/javascript" src="<?php echo $this->baseUrl("js/jquery.chosen.min.js")?>"></script>
	<script type="text/javascript" src="<?php echo $this->baseUrl("js/functions.js")?>"></script>
	
    <!--[if lt IE 9]>
	  <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
	<![endif]-->
</head>

<body>
	<div class="navbar navbar-inverse navbar-fixed-top">
		<div class="navbar-inner">
			<div class="container">
            
                <?php if($this->isAllow(array('controller'=>'index','action'=>'index'),null,"Màn hình chức năng")) { ?>
				<a class="brand uppercase" href="<?php echo $this->url(array('controller'=>'index','action'=>'index'))?>"><i class="symbol-book"></i>Quản lý nhà sách</a>
                <?php } ?>
                
				<div class="nav-collapse">
					<?php echo $this->partial("main-menu.phtml");?>
				</div>
			</div>
		</div>
	</div>
	
    
    <div class="container"><?php echo $this->layout()->content; ?></div>
    
    <hr />
    
    <footer id="footer">
        
    </footer>			
</body>
	
</html>

